// Copyright DustedPixels.com 2008. All rights reserved.

package com.dustedpixels.jasmin.common;

/**
 * @author micapolos@gmail.com (Michal Pociecha-Los)
 */
public interface SharedMemory {
  void poke(long time, int address, byte value);
  byte peek(long time, int address);
  void noPokeUntil(long time);
  void noPeekUntil(long time);
  
  interface Factory {
    SharedMemory[] newSharedMemories(int count, int addressBits);
  }
}
